body {
  overflow: auto;
}
/* 自定义滚动条 */
body::-webkit-scrollbar {
  width: 12px;
  height: 10px;
}
body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #b4b4b4;
}
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #ededed;
}
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin h1 {
  font-size: 25px;
  text-align: center;
  margin-bottom: 20px;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-signin input[type="checkbox"] {
  margin-bottom: 15px;
}
label {
  font-weight: 400;
  font-size: 15px;
}
.logo {
  width: 200px;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 10px;
}
#loading {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(122, 122, 122, 0.8);
  z-index: 1000;
}
.loading-inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}
.loading-icon {
  display: inline;
  width: 56px;
  height: 56px;
  animation: loading-rotate 2s linear infinite;
}
.loading-icon .path {
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  stroke-width: 3;
  stroke: #409eff;
  stroke-linecap: round;
  animation: loading-dash 1.5s ease-in-out infinite;
}
.loading-text {
  margin: 10px 0;
  font-size: 20px;
  color: #409eff;
  font-weight: 700;
}
@keyframes loading-rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes loading-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -40px;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -120px;
  }
}
#message {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: top 0.4s;
  display: flex;
}
#message.success {
  background-color: #dff0d8;
  color: #3c763d;
}
#message.error {
  background-color: #f2dede;
  color: #a94442;
}
#message .icon {
  margin-left: 20px;
  color: #999;
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
}
#myCanvas {
  margin: auto;
  z-index: 1;
}
#menu {
  width: 400px;
  height: 30px;
  background: linear-gradient(to bottom, #80a8d8, #063c83);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding: 0 30px;
  border: 2px solid #7091ba;
  border-top: 0;
  justify-content: space-between;
  align-items: center;
  color: white;
  display: flex;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#menu i {
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: all 0.3s;
}
#menu i:hover {
  background: #91b4de;
}
#menu .info {
  font-size: 15px;
  font-weight: bold;
}
#menu .title {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
#menu .logout {
  font-size: 20px;
  padding-right: 2px;
}
